<?php
$variable = rand(1,6);
session_start();
$_SESSION["capcha"] = $variable;

echo "<h3>1. Prueba que eres un humano:</h3><br>";
echo "Arrastra ";
switch ($variable){
    case 1:
        echo "el <span style='color: #737476;'>Reloj </span>";
        break;
    case 2:
        echo "la <span style='color: #ff9a1e;'>Estrella </span>";
        break;
    
    case 3:
        echo "el <span style='color: #e60000;'>Corazon </span>";
        break;
    case 4:
        echo "el <span style='color: #db8204;'>Lapiz </span>";
        break;
    case 5:
        echo "la <span style='color: #000000;'>Nota </span>";
        break;
    case 6:
        echo "el <span style='color: #292a95;'>Bombillo </span>";
        break;
}
echo "al cuadro con el signo de interrogacion.<br>";
echo '<table>
<tr>
    <td><div id="6" class="draggable" class="ui-widget-content" ><img src="../Imagenes/IcoBombillo.png"/></div></td>
    <td><div id="5" class="draggable" class="ui-widget-content" ><img src="../Imagenes/IcoNota.png"/></div></td>
    <td><div id="2" class="draggable" class="ui-widget-content" ><img src="../Imagenes/IcoEstrella.png"/></div></td>
</td>
<tr>
    <td><div id="4" class="draggable" class="ui-widget-content" ><img src="../Imagenes/IcoLapiz.png"/></div></td>
    <td><div id="1" class="draggable" class="ui-widget-content" ><img src="../Imagenes/IcoReloj.png"/></div></td>
    <td><div id="3" class="draggable" class="ui-widget-content" ><img src="../Imagenes/IcoCorazon.png"/></div></td>
</td>
<tr><td></td>
<td><div id="droppable" class="ui-widget-header"><img src="../Imagenes/IcoInterrogacion.png"/></div></td>
<td></td>
'

?>
